str_input = input("请输入一串数字，用逗号（非中文）分隔：\n")
str_split = str_input.split(",")
print("根据逗号分隔后的集合", str_split)

nums = list(map(int, str_split))
print("将字符串集合转化为数组集合", nums)

nums_sort = sorted(nums, reverse=True)
print("降序排列：", nums_sort)
